package com.appkubes.mall.core.pojo;

import com.appkubes.mall.core.po.FintechDataContact;
import com.appkubes.mall.core.po.FintechDataContactExample;
import java.util.List;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;
import org.apache.ibatis.session.RowBounds;
import org.apache.ibatis.type.JdbcType;

public interface FintechDataContactMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_data_contact
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechDataContactSqlProvider.class, method="countByExample")
    long countByExample(FintechDataContactExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_data_contact
     *
     * @mbg.generated
     */
    @DeleteProvider(type=FintechDataContactSqlProvider.class, method="deleteByExample")
    int deleteByExample(FintechDataContactExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_data_contact
     *
     * @mbg.generated
     */
    @Insert({
        "insert into fintech_data_contact (app_key, user_key, ",
        "`name`, tel, create_time)",
        "values (#{appKey,jdbcType=VARCHAR}, #{userKey,jdbcType=VARCHAR}, ",
        "#{name,jdbcType=VARCHAR}, #{tel,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP})"
    })
    int insert(FintechDataContact record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_data_contact
     *
     * @mbg.generated
     */
    @InsertProvider(type=FintechDataContactSqlProvider.class, method="insertSelective")
    int insertSelective(FintechDataContact record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_data_contact
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechDataContactSqlProvider.class, method="selectByExample")
    @Results({
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR),
        @Result(column="tel", property="tel", jdbcType=JdbcType.VARCHAR),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP)
    })
    List<FintechDataContact> selectByExampleWithRowbounds(FintechDataContactExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_data_contact
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechDataContactSqlProvider.class, method="selectByExample")
    @Results({
        @Result(column="app_key", property="appKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR),
        @Result(column="tel", property="tel", jdbcType=JdbcType.VARCHAR),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP)
    })
    List<FintechDataContact> selectByExample(FintechDataContactExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_data_contact
     *
     * @mbg.generated
     */
    @UpdateProvider(type=FintechDataContactSqlProvider.class, method="updateByExampleSelective")
    int updateByExampleSelective(@Param("record") FintechDataContact record, @Param("example") FintechDataContactExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_data_contact
     *
     * @mbg.generated
     */
    @UpdateProvider(type=FintechDataContactSqlProvider.class, method="updateByExample")
    int updateByExample(@Param("record") FintechDataContact record, @Param("example") FintechDataContactExample example);
}